/**
 * @file ui_toast.h
 * @author your name (you@domain.com)
 * @brief toast
 * @version 0.1
 * @date 2023-06-10
 * 
 * @copyright Copyright (c) 2023
 * 
 */

#ifndef UI_TOAST_H
#define UI_TOAST_H

#include "frame.h"
#include "ui_config.h"
#include "lvgl.h"



#ifdef __cplusplus
extern "C"
{
#endif

typedef enum TOAST_SHOW_TYPE
{
   TOAST_SHOW_INFO,
   TOAST_SHOW_WARNING,
   TOAST_SHOW_ERROR,
   TOAST_SHOW_INFO_WAIT_DEL,
   TOAST_SHOW_WARNING_WAIT_DEL,
   TOAST_SHOW_ERROR_WAIT_DEL,
}TOAST_SHOW_TYPE_e;

int ui_toast_show(char *text, TOAST_SHOW_TYPE_e type);

#ifdef __cplusplus
}
#endif


#endif










